<div data-dojo-type="dijit/form/Form" id="dochodForm" data-dojo-id="dochodForm" encType="multipart/form-data" action=
<#if dochodId != 0 >
"dochod!save.action"
<#else>
"dochod!saveNew.action"
</#if>
 method="post">
    <table cellspacing="10">
        <tr>
            <td>
                <label for="nazwa">Nazwa:</label>
            </td>
            <td>
                <input type="text" id="nazwa" name="form.nazwa" value="${form.nazwa}" required="true" data-dojo-type="dijit/form/ValidationTextBox"/>
            </td>
         </tr>
        <tr>
            <td>
                <label for="kwota">Kwota:</label>
            </td>
            <td>
                <input type="text" id="kwota" name="form.kwota"  value="${form.kwota}" required="true" data-dojo-type="dijit/form/NumberTextBox"
                	 data-dojo-props="invalidMessage:'Podaj poprawną kwotę'"/>
            </td>
         </tr>
        <tr>
            <td>
                <label for="dataDochodu">Data :</label>
            </td>
            <td>
                <input type="text" id="dataDochodu" name="form.date" value="${form.date?date}" required="false" data-dojo-type="dijit/form/DateTextBox"/>
            </td>
         </tr>
    </table>
</div>
